<template>
    <div>
    <table border="1">
        <thead>
            <tr>
                <td>姓名</td>
                <td>性别</td>
                <td>年龄</td>
                <td>手机号</td>
                <td>积分</td>
            </tr>
        </thead>
        <tbody>
            <tr v-for=" i in infoArry">
                <td>{{ i.name }}</td>
                <td>{{ i.sex }}</td>
                <td>{{ i.age }}</td>
                <td>{{ i.phone }}</td>
                <td>{{ i.jifen }}</td>
            </tr>
        </tbody>

    </table>
    </div>
</template>

<script setup lang="ts">
const infoArry:any=[
{
    name:"张三",
    sex:"男",
    age:20,
    phone:"1112212121",
    jifen:100
},
{
    name:"李四",
    sex:"女",
    age:25,
    phone:"1154312121",
    jifen:100
},{
    name:"王五",
    sex:"男",
    age:20,
    phone:"1112212121",
    jifen:100
},{
    name:"赵六",
    sex:"男",
    age:20,
    phone:"1112212121",
    jifen:100
},{
    name:"孙琪",
    sex:"男",
    age:20,
    phone:"1112212121",
    jifen:100
},{
    name:"赵士科",
    sex:"男",
    age:20,
    phone:"1112212121",
    jifen:100
},{
    name:"张琪浩",
    sex:"男",
    age:20,
    phone:"1112212121",
    jifen:100
},{
    name:"姜小海",
    sex:"男",
    age:20,
    phone:"1112212121",
    jifen:100
},{
    name:"郑北",
    sex:"男",
    age:20,
    phone:"1112212121",
    jifen:100
}

]
</script>

<style scoped>

</style>